package com.ross.mode.service.impl;

import com.ross.mode.other.OrderService;
import com.ross.mode.service.OrderAdapterService;

/**
 * @version 1.0.0
 * @className: InsideOrderService
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/3 17:19
 */
public class InsideOrderService implements OrderAdapterService {
    private OrderService orderService = new OrderService();

    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }
}
